//*******************************************************************************************
//  pp5_3.java          Author:Duanzhixuan
//  编写程序从键盘读入一个整数，然后判断并输出该整数中包含的奇数、偶数和零数字的个数。
//*******************************************************************************************
import java.util.Scanner;
public class pp5_3

{public static void main(String[] args)
{
int a,number;
int c= 0;
int d =0;
int b =0;

Scanner scan = new Scanner(System.in);
System.out.println("请输入一个整数:");
number = scan.nextInt();
if (number ==0)
c++;
while(number !=0)
{ a = (number%10);

if (a % 2 !=0)
b++;
else{

if (a==0)
c++;
else
d++;}
number= number/10;}


System.out.println("奇数"+b+"\n偶数"+d+"\nZero:"+c);
}
}
